﻿using System;
using System.Text;

//自定义命名空间
using DreamCube.Foundation.Security;

namespace DreamCube.Framework.Utilities.Authorization
{
    /// <summary>
    /// 限时版（不带硬件信息）
    /// </summary>
    public class ExpiryWithoutHardware : AuthoriseBasic
    {
        public override AuthoriseType AuthoriseType
        {
            get { return Authorization.AuthoriseType.IntervalWithoutHardware; }
        }

        protected override Byte[] GenerateData0FileData()
        {
            return Encoding.UTF8.GetBytes("0987654321");
        }

        public ExpiryWithoutHardware(ISecurity securityObj)
            : base(securityObj)
        { }
    }
}
